package com.dianxin.farm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 橱窗信息表
    * </p>
*
* @author xukai
* @since 2020-12-04
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @ApiModel(value="BannerNews对象", description="橱窗信息表")
    public class BannerNews implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "标题")
    private String heading;

            @ApiModelProperty(value = "图片地址")
    private String imgUrl;

    private String remark;

    private LocalDateTime createTime;

            @ApiModelProperty(value = "创建者id")
    private Integer creatorId;

            @ApiModelProperty(value = "banner详情页")
    private String content;

            @ApiModelProperty(value = "第三方链接地址")
    private String linkUrl;

            @ApiModelProperty(value = "排序")
    private Integer sort;

            @ApiModelProperty(value = "是否发布0未发布 1发布。默认值0")
    private Integer shelf;

            @ApiModelProperty(value = "软删除标志0未删除1删除。默认值0")
    private Integer deleteFlag;


}
